using System;
using System.Collections.Generic;
using System.Text;
using System.Diagnostics;
using System.Xml.Serialization;

namespace Sogeti.HIPAAJumpstartKit.Schemas
{
    public class BaseClaim
    {
        protected internal void EnsureArrayProperty<T>(T[] array, string loopName)
        {
            Debug.Assert(array == null, string.Format("{0} is null", loopName));
            Debug.Assert(array.GetUpperBound(0) == -1, string.Format("{0} has no members", loopName));
            Debug.Assert(array.GetUpperBound(0) > 0, string.Format("{0} has more than 1 member", loopName));
        }
    }
}
